package com.villaday.idf.model3;

import java.util.List;

public class ConfigsEntity {

    /**
     * code : 200
     * status : success
     * msg : success
     * body : {"regions":[{"name":"全部","value":""},{"name":"惠州","value":"city_惠州"},{"name":"深圳","value":"city_深圳"},{"name":"清远","value":"city_清远"},{"name":"广州","value":"city_广州"},{"name":"中山","value":"city_中山"},{"name":"佛山","value":"city_佛山"}],"version":"2.0","sorts":[{"name":"默认排序","value":""},{"name":"价格降序","value":"price_desc"},{"name":"价格升序","value":"price_asc"},{"name":"最新上架","value":"shelf_time_desc"}],"tags":[{"name":"全部","value":""},{"name":"房源","value":"dHlwZT0xMDA="},{"name":"热销好物","value":"dHlwZT0xMw=="},{"name":"美食餐饮","value":"dHlwZT0xMQ=="}]}
     */

    private String code;
    private String status;
    private String msg;
    private BodyBean body;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public BodyBean getBody() {
        return body;
    }

    public void setBody(BodyBean body) {
        this.body = body;
    }

    public static class BodyBean {
        /**
         * regions : [{"name":"全部","value":""},{"name":"惠州","value":"city_惠州"},{"name":"深圳","value":"city_深圳"},{"name":"清远","value":"city_清远"},{"name":"广州","value":"city_广州"},{"name":"中山","value":"city_中山"},{"name":"佛山","value":"city_佛山"}]
         * version : 2.0
         * sorts : [{"name":"默认排序","value":""},{"name":"价格降序","value":"price_desc"},{"name":"价格升序","value":"price_asc"},{"name":"最新上架","value":"shelf_time_desc"}]
         * tags : [{"name":"全部","value":""},{"name":"房源","value":"dHlwZT0xMDA="},{"name":"热销好物","value":"dHlwZT0xMw=="},{"name":"美食餐饮","value":"dHlwZT0xMQ=="}]
         */

        private String version;
        private List<RegionsBean> regions;
        private List<SortsBean> sorts;
        private List<TagsBean> tags;

        public String getVersion() {
            return version;
        }

        public void setVersion(String version) {
            this.version = version;
        }

        public List<RegionsBean> getRegions() {
            return regions;
        }

        public void setRegions(List<RegionsBean> regions) {
            this.regions = regions;
        }

        public List<SortsBean> getSorts() {
            return sorts;
        }

        public void setSorts(List<SortsBean> sorts) {
            this.sorts = sorts;
        }

        public List<TagsBean> getTags() {
            return tags;
        }

        public void setTags(List<TagsBean> tags) {
            this.tags = tags;
        }

        public static class RegionsBean {
            /**
             * name : 全部
             * value :
             */

            private String name;
            private String value;
            private boolean isCheck;

            public boolean isCheck() {
                return isCheck;
            }

            public void setCheck(boolean check) {
                isCheck = check;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getValue() {
                return value;
            }

            public void setValue(String value) {
                this.value = value;
            }
        }

        public static class SortsBean {
            /**
             * name : 默认排序
             * value :
             */

            private String name;
            private String value;
            private boolean isCheck;

            public boolean isCheck() {
                return isCheck;
            }

            public void setCheck(boolean check) {
                isCheck = check;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getValue() {
                return value;
            }

            public void setValue(String value) {
                this.value = value;
            }
        }

        public static class TagsBean {
            /**
             * name : 全部
             * value :
             */

            private String name;
            private String value;
            private boolean isCheck;

            private String icon_default;
            private String icon_checked;

            public String getIcon_default() {
                return icon_default;
            }

            public void setIcon_default(String icon_default) {
                this.icon_default = icon_default;
            }

            public String getIcon_checked() {
                return icon_checked;
            }

            public void setIcon_checked(String icon_checked) {
                this.icon_checked = icon_checked;
            }

            public boolean isCheck() {
                return isCheck;
            }

            public void setCheck(boolean check) {
                isCheck = check;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getValue() {
                return value;
            }

            public void setValue(String value) {
                this.value = value;
            }
        }
    }
}
